package at.im.utils;

public class EntityState 
{
	int			m_entitystateid;
	int 		m_entityid;
	int 		m_spriteid;
	String 		m_name;
	String 		m_timestamp;
	boolean 	m_isvisible;
	
	public EntityState()
	{}
	
	public EntityState(int entitystateid, int entityid, int spriteid, String name, String timestamp, int[] states, int defaultstate)
	{
		m_entitystateid	= entitystateid;
		m_entityid 		= entityid;
		m_spriteid 		= spriteid;
		m_name 			= name;
		m_timestamp 	= timestamp;
	}
	
	public void setVisibility(boolean visible)
	{
		m_isvisible = visible;
	}
	
	public boolean isVisible()
	{
		return m_isvisible;
	}
	
	public void setEntityStateId(int id)
	{
		m_entitystateid = id;
	}
	
	public int getEntityStateId()
	{
		return m_entitystateid;
	}
	
	public void setEntityId(int id)
	{
		m_entityid = id;
	}
	
	public int getEntityId()
	{
		return m_entityid;
	}
	
	public void setSpriteId(int id)
	{
		m_spriteid = id;
	}
	
	public int getSpriteId()
	{
		return m_spriteid;
	}
	
	public void setName(String name)
	{
		m_name = name;
	}
	
	public String getName()
	{
		return m_name;
	}
	
	public void setTimeStamp(String timestamp)
	{
		m_timestamp = timestamp;
	}
	
	public String getTimeStamp()
	{
		return m_timestamp;
	}
}
